import App from './App'
import uView from '@/uni_modules/uview-ui'
import share from "@/common/share.js"
import {
	req
} from '@/common/vmeitime-http/'
import api from '@/common/api.js'
import store from './store'


Vue.prototype.$store = store
Vue.prototype.$req = req
Vue.prototype.$api = api
Vue.prototype.$uploadUrl = 'http://weba7.qdytcy.com/report/file/uploadToServer'
Vue.use(uView)
Vue.mixin(share)
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif